package com.csu.tour.service;

import com.csu.tour.entity.Complaint;
import com.csu.tour.entity.PageBean;
import org.springframework.stereotype.Service;

import java.time.LocalDate;

@Service
public interface ComplaintService {
    void evaluation(int complaintId, String evaluation);

    void statusApprove(int complaintId, Complaint.ComplaintStatusApprove statusApprove);

    void complaintAdd(Complaint complaint);

    void process(int complaintId, String handlingContent, Complaint.ComplaintStatus status);

    void finish(int complaintId, Complaint.ComplaintStatusApprove statusApprove);

    PageBean page(Integer page, Integer pageSize, Complaint.ComplaintStatus status,
                  Complaint.ComplaintStatusApprove statusApprove, LocalDate begin, LocalDate end);
}
